package com.ruoyi.crop.service;

import com.ruoyi.crop.api.domain.CheckReport;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
* @author 86178
* @description 针对表【src_check_report(检测报告)】的数据库操作Service
* @createDate 2024-07-27 09:35:55
*/
public interface CheckReportService extends IService<CheckReport> {

    /**
     * 查询检测报告信息列表
     */
    List<CheckReport> selectCheckReportList(CheckReport checkReport);

    /**
     * 校验质检报告名称唯一
     * @param checkReport
     * @return
     */
    boolean checkReportNameUnique(CheckReport checkReport);

    /**
     * 校验质检报告批次号唯一
     * @param checkReport
     * @return
     */
    boolean checkMaterialCodeUnique(CheckReport checkReport);
}
